// 导入Provider容器组件
import { Provider } from 'react-redux';
// 导入redux数据存储对象store
import store from './store';
import Cart from './components/Cart';
import News from './components/News';

export default function App() {
    return (
        <Provider store={store}>
            <News />
            <Cart />
        </Provider>
    )
}
